package com.cc.service;

import com.cc.model.EbNews;

import java.util.List;

public interface NewsService {
    List<EbNews> list(Integer page,Integer pageSize);

    int save(EbNews ebNews);

    int deleteByPk(int id);

    EbNews selectByCondition(Integer enId);

    int updateById(EbNews ebNews);

    int getMaxPage(int pageSize);

    List<EbNews> findNews();
    /*int delete(Integer enId);*/


}
